export default {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "editBtn": true,
    "delBtn": true,
    "align": "left",
    "addBtn": true,
    "height": "auto",
    "labelWidth": 100,
    "highlightCurrentRow": true,
    "columnMovable": true,
    "menu": true,
    "dialogClickModal": false,
    "dialogEscape": false,
    "headerMenu": true,
    "autoLoad": false,
    "column": [
        {
            "label": "姓名",
            "prop": "name",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 128,
            "rules": [
                {
                    "required": true,
                    "message": "请输入姓名",
                    "trigger": "blur"
                },
                {
                    "max": 50,
                    "message": "长度小于50个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "性别",
            "prop": "sex",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "rules": [
                {
                    "max": 2,
                    "message": "长度小于2个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "生日",
            "prop": "birthday",
            "more": true,
            "type": "date",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd ",
            "valueFormat": "yyyy-MM-dd ",
            "rules": [],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "手机",
            "prop": "mobile",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 132,
            "rules": [
                {
                    "required": true,
                    "message": "请输入手机",
                    "trigger": "blur"
                },
                {
                    "max": 11,
                    "message": "长度小于11个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true
        },
        {
            "label": "座机",
            "prop": "phone",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 116,
            "rules": [
                {
                    "max": 20,
                    "message": "长度小于20个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "证件类型",
            "prop": "idCardType",
            "type": "select",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "dicUrl": "/datatable/getDict/crm.common.idCardType",
            "rules": [
                {
                    "max": 1,
                    "message": "长度小于1个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "身份证",
            "prop": "idCard",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 160,
            "rules": [
                {
                    "max": 32,
                    "message": "长度小于32个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "住址",
            "prop": "address",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "rules": [
                {
                    "max": 255,
                    "message": "长度小于255个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "用户",
            "prop": "userId",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "align": "right",
            "rules": [
                {
                    "required": true,
                    "message": "请输入用户",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "是否有效",
            "prop": "isActive",
            "valueDefault": true,
            "type": "switch",
            "sortable": true,
            "overHidden": true,
            "width": 100,
            "rules": [
                {
                    "required": true,
                    "message": "请输入是否有效",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "dicData": [
                {
                    "value": true,
                    "label": "是"
                },
                {
                    "value": false,
                    "label": "否"
                }
            ],
            "search": true
        },
        {
            "label": "备注",
            "prop": "remark",
            "type": "textarea",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "rules": [
                {
                    "max": 255,
                    "message": "长度小于255个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": false
        },
        {
            "label": "主键",
            "prop": "id",
            "key": true,
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入主键",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "创建时间",
            "prop": "createTime",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建时间",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "创建人",
            "prop": "createdBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入创建人",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        },
        {
            "label": "更新时间",
            "prop": "updateTime",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "more": true,
            "type": "datetime",
            "sortable": true,
            "overHidden": true,
            "width": 130,
            "format": "yyyy-MM-dd HH:mm",
            "valueFormat": "yyyy-MM-dd HH:mm:ss",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入更新时间",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "between",
            "searchDefaultStartDays": 6,
            "searchDefaultEndDays": 0,
            "search": false
        },
        {
            "label": "更新人",
            "prop": "updatedBy",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入更新人",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "=",
            "search": false
        }
    ]
}